package com.jcroke.DACGraph;

import com.hp.hpl.jena.rdf.model.RDFNode;

/**
 * @author jcroke
 *
 */

public class Signature {
	private RDFNode _pnode;
	private RDFNode _pin;
	private RDFNode _lPin;
	private RDFNode _type;
	private RDFNode _typeClass;
	
	public Signature(RDFNode lPin, RDFNode pnode, RDFNode pin, RDFNode type, RDFNode typeClass) {
		this._pnode = pnode;
		this._pin = pin;   // remote pin, (source pin)
		this._lPin = lPin;  // local pin, (input pin)
		this._type = type;
		this._typeClass = typeClass;
	}

	public String getSourcePnode() {
		return _pnode.toString();
	}
	
	public String getSourcePin() {
		return _pin.toString();
	}
	
	public String getSourceType() {
		return _type.toString();
	}

	public String getSourceTypeClass() {
		return _typeClass.toString();
	}
	
	public String getLocalPin() {
		return _lPin.toString();
	}
}
